﻿namespace _08字符串转整数
{
    internal class Program
    {
        //需要使用正在表达式匹配
        static void Main(string[] args)
        {
            Student student = new Student()
            {
                Id = 1,
                Name = "Test"
            };
            Console.WriteLine(student.Id.ToString());
        }
        
    }
    class Student
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }
}